﻿Partial Class OutlineText
    Inherits Camalon.Drawing.ShapeContainer

    <System.Diagnostics.DebuggerNonUserCode()> _
    Public Sub New(ByVal container As System.ComponentModel.IContainer)
        MyClass.New()

        'Required for Windows.Forms Class Composition Designer support
        If (container IsNot Nothing) Then
            container.Add(Me)
        End If

    End Sub

    <System.Diagnostics.DebuggerNonUserCode()> _
    Public Sub New()
        MyBase.New()

        'This call is required by the Component Designer.
        InitializeComponent()

    End Sub

    'Component overrides dispose to clean up the component list.
    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
        Try
            If disposing AndAlso components IsNot Nothing Then
                components.Dispose()
            End If
        Finally
            MyBase.Dispose(disposing)
        End Try
    End Sub

    'Required by the Component Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Component Designer
    'It can be modified using the Component Designer.
    'Do not modify it using the code editor.
    <System.Diagnostics.DebuggerStepThrough()> _
    Private Sub InitializeComponent()
        Me.sTextShape = New Camalon.Drawing.Shapes.TextOnlyShape()
        Me.sTextFill = New Camalon.Drawing.LinearGradientFill()
        Me.sOutline = New Camalon.Drawing.Outline()
        Me.sTextPen = New Camalon.Drawing.ShapePen()
        Me.sTextShapeNonOutline = New Camalon.Drawing.Shapes.TextOnlyShape()
        CType(Me, System.ComponentModel.ISupportInitialize).BeginInit()
        '
        'textShape
        '
        Me.sTextShape.Fill = Me.sTextFill
        Me.sTextShape.FillMode = System.Drawing.Drawing2D.FillMode.Winding
        Me.sTextShape.Font = New System.Drawing.Font("Comic Sans MS", 144.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.sTextShape.Outline = Me.sOutline
        Me.sTextShape.Pen = Me.sTextPen
        Me.sTextShape.Position = New System.Drawing.Point(79, 177)
        Me.sTextShape.Size = New System.Drawing.Size(430, 210)
        Me.sTextShape.Text = "A b i"
        Me.sTextShape.TextFill = Me.sTextFill
        Me.sTextShape.TextPen = Me.sTextPen
        '
        'textFill
        '
        Me.sTextFill.InterpolationColors = New Camalon.Drawing.CompoundColor() {New Camalon.Drawing.CompoundColor(System.Drawing.Color.Brown), New Camalon.Drawing.CompoundColor(System.Drawing.Color.IndianRed), New Camalon.Drawing.CompoundColor(System.Drawing.Color.NavajoWhite, 1.0!)}
        '
        'outline
        '
        Me.sOutline.Flatness = 0.1!
        Me.sOutline.Width = 6.0!
        '
        'textPen
        '
        Me.sTextPen.ForegroundPen = False
        Me.sTextPen.LineJoin = System.Drawing.Drawing2D.LineJoin.Round
        Me.sTextPen.MiterLimit = 0.0!
        '
        'textShapeNonOutline
        '
        Me.sTextShapeNonOutline.Fill = Me.sTextFill
        Me.sTextShapeNonOutline.Font = New System.Drawing.Font("Comic Sans MS", 144.0!, System.Drawing.FontStyle.Bold)
        Me.sTextShapeNonOutline.MinSize = New System.Drawing.Size(100, 214)
        Me.sTextShapeNonOutline.Pen = Me.sTextPen
        Me.sTextShapeNonOutline.Position = New System.Drawing.Point(9, 30)
        Me.sTextShapeNonOutline.Size = New System.Drawing.Size(440, 214)
        Me.sTextShapeNonOutline.Text = "A b i"
        Me.sTextShapeNonOutline.TextFill = Me.sTextFill
        Me.sTextShapeNonOutline.TextPen = Me.sTextPen
        '
        'OutlineText
        '
        Me.Shapes.AddRange(New Camalon.Drawing.Shape() {Me.sTextShapeNonOutline, Me.sTextShape})
        Me.Size = New System.Drawing.Size(580, 500)
        CType(Me, System.ComponentModel.ISupportInitialize).EndInit()

    End Sub
    Private WithEvents sTextShape As Camalon.Drawing.Shapes.TextOnlyShape
    Private WithEvents sTextFill As Camalon.Drawing.LinearGradientFill
    Private WithEvents sOutline As Camalon.Drawing.Outline
    Private WithEvents sTextPen As Camalon.Drawing.ShapePen
    Private WithEvents sTextShapeNonOutline As Camalon.Drawing.Shapes.TextOnlyShape

End Class
